<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
	<head>
  		<meta charset="utf-8">
      	<meta http-equiv="X-UA-Compatible" content="IE=edge">
      	<link rel="shortcut icon" href="favicon.ico"/>
      	<title>娱乐商家注册 - <?php echo ($CONF['mallTitle']); ?></title>
      	<meta name="keywords" content="<?php echo ($CONF['mallKeywords']); ?>" />
      	<meta name="description" content="<?php echo ($CONF['mallDesc']); ?>,娱乐商家注册" />
      	<link rel="stylesheet" href="/wstshop/Apps/Home/View/default/css/common.css">
      	<link rel="stylesheet" href="/wstshop/Apps/Home/View/default/css/regist.css">
     	<link rel="stylesheet" href="/wstshop/Apps/Home/View/default/css/passport.css">
     	<link rel="stylesheet" href="/wstshop/Apps/Home/View/default/css/base.css" />
		<link rel="stylesheet" href="/wstshop/Apps/Home/View/default/css/head.css" />
     	<link rel="stylesheet" href="/wstshop/Apps/Home/View/default/css/footer.css">
     	<link rel="stylesheet" type="text/css" href="/wstshop/Public/plugins/webuploader/webuploader.css" />	
   	</head>
   	<body>
   
	
<script src="/wstshop/Public/js/jquery-1.9.1.min.js"></script>
<script src="/wstshop/Public/plugins/lazyload/jquery.lazyload.min.js?v=1.9.1"></script>
<script src="/wstshop/Public/plugins/layer/layer.min.js"></script>
<script type="text/javascript">
var WST = ThinkPHP = window.Think = {
        "ROOT"   : "/wstshop",
        "APP"    : "/wstshop",
        "PUBLIC" : "/wstshop/Public",
        "DEEP"   : "<?php echo C('URL_PATHINFO_DEPR');?>",
        "MODEL"  : ["<?php echo C('URL_MODEL');?>", "<?php echo C('URL_CASE_INSENSITIVE');?>", "<?php echo C('URL_HTML_SUFFIX');?>"],
        "VAR"    : ["<?php echo C('VAR_MODULE');?>", "<?php echo C('VAR_CONTROLLER');?>", "<?php echo C('VAR_ACTION');?>"],
        "DOMAIN" : "<?php echo WSTDomain();?>",
        "CITY_ID" : "<?php echo ($currArea['areaId']); ?>",
        "CITY_NAME" : "<?php echo ($currArea['areaName']); ?>",
        "DEFAULT_IMG": "<?php echo WSTDomain();?>/<?php echo ($CONF['goodsImg']); ?>",
        "MALL_NAME" : "<?php echo ($CONF['mallName']); ?>",
        "SMS_VERFY"  : "<?php echo ($CONF['smsVerfy']); ?>",
        "PHONE_VERFY"  : "<?php echo ($CONF['phoneVerfy']); ?>",
        "IS_LOGIN" :"<?php echo ($WST_IS_LOGIN); ?>"
}
    $(function() {
    	$('.lazyImg').lazyload({ effect: "fadeIn",failurelimit : 10,threshold: 200,placeholder:WST.DEFAULT_IMG});
    });
</script>
<script src="/wstshop/Public/js/think.js"></script>
<div id="wst-shortcut">
	<div class="w">
		<ul class="fl lh" style='float:left;width:700px;'>
			
			<!--<li class="fore4" id="biz-service" data-widget="dropdown" style='padding:0;'>-->
				<!--所在城市-->
				<!--【<span class='wst-city'>&nbsp;<?php echo ($currArea["areaName"]); ?>&nbsp;</span>】-->
				<!--<img src="/wstshop/Apps/Home/View/default/images/icon_top_03.png"/>	-->
				<!--&nbsp;&nbsp;<a href="javascript:;" onclick="toChangeCity();">切换城市</a><div class="wst-downicon">&nbsp;▼</div>-->
			<!--</li>-->
		</ul>
	
		<ul class="fr lh" style='float:right;'>
			<li class="fore1" id="loginbar"><a href="<?php echo U('Home/Orders/queryByPage');?>"><span style='color:blue'><?php echo ($WST_USER['userName']?$WST_USER['userName']:$WST_USER['loginName']); ?></span></a> 欢迎您来到<!-- <a href='<?php echo WSTDomain();?>'>--><?php echo ($CONF['mallName']); ?><!--</a>-->！<s></s>&nbsp;
			<span>
				<?php if(!$WST_USER['userId']): ?><a href="<?php echo U('Home/Shops/login');?>">[登录]</a>
				<!--<a href="<?php echo U('Home/Users/regist');?>"	class="link-regist">[免费注册]</a>--><?php endif; ?>
				<?php if($WST_USER['userId'] > 0): ?><a href="javascript:logout();">[退出]</a><?php endif; ?>
			</span>
			</li>
			<li class="fore2 ld"><s></s>
			<?php if(session('WST_USER.userId')>0){ ?>
				<?php if(session('WST_USER.userType')==0){ ?>
				    <a href="<?php echo U('Home/Shops/toOpenShopByUser');?>" rel="nofollow">我要开店</a>
				<?php } ?>
			<?php }else{ ?>
			    <a href="<?php echo U('Home/GoodsCats/getCatList');?>" rel="nofollow">我要开店</a>
			<?php } ?>
			</li>
		</ul>
		<span class="clr"></span>
	</div>
</div>

<!--<div style="height:132px;">-->
<!--<div id="mainsearchbox" style="text-align:center;">-->
	<!--<div id="wst-search-pbox">-->
		<!--<div style="" class="wst-header-logo">-->
		  <!--<a href='<?php echo WSTDomain();?>'>-->
			<!--<img id="wst-logo" src="<?php echo WSTDomain();?>/<?php echo ($CONF['mallLogo']); ?>"/>-->
		  <!--</a>-->
		<!--</div>-->
		<!--<div id="wst-search-container">-->
			<!--<div id="wst-search-type-box">-->
				<!--<input id="wst-search-type" type="hidden" value="<?php echo ($searchType); ?>"/>-->
				<!--<div id="wst-panel-goods" class="<?php if($searchType == 1): ?>wst-panel-curr<?php else: ?>wst-panel-notcurr<?php endif; ?>">商品</div>-->
				<!--<div id="wst-panel-shop" class="<?php if($searchType == 2): ?>wst-panel-curr<?php else: ?>wst-panel-notcurr<?php endif; ?>">店铺</div>-->
				<!--<div class="wst-clear"></div>-->
			<!--</div>-->
			<!--<div id="wst-searchbox">-->
				<!--<input id="keyword" class="wst-search-keyword" data="wst_key_search" onkeyup="getSearchInfo(this,event);" placeholder="<?php if($searchType == 2): ?>搜索 店铺<?php else: ?>搜索 商品<?php endif; ?>" autocomplete="off"  value="<?php echo ($keyWords); ?>">-->
				<!--<div id="btnsch" class="wst-search-button">搜&nbsp;索</div>-->
				<!--<div id="wst_key_search_list"></div>-->
			<!--</div>-->
			<!--<div id="wst-hotsearch-keys">-->
				<!--<?php if(is_array($CONF['hotSearchs'])): $k = 0; $__LIST__ = $CONF['hotSearchs'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?>-->
				<!--<a href="<?php echo U('Home/goods/getGoodsList',array('keyWords'=>$vo));?>"><?php echo ($vo); ?></a><?php if($k < count($CONF['hotSearchs'])): ?>&nbsp;&nbsp;|&nbsp;&nbsp;<?php endif; ?>-->
				<!--<?php endforeach; endif; else: echo "" ;endif; ?>-->
			<!--</div>-->
		<!--</div>-->
		<!--<div id="wst-search-des-container">-->
			<!--<div class="des-box">-->
				<!--<div class='wst-reach'>-->
					<!--<img src="/wstshop/Apps/Home/View/default/images/sadn.jpg"  height="38" width="40"/>-->
					<!--<div style="float:left;position:absolute;top:0px;left:38px;"><span style="font-weight:bolder;">闪电配送</span><br/><span style="color:#e23c3d;">最快1小时送达</span></div>-->
				<!--</div>-->
				<!--<div class='wst-since'>-->
					<!--<img src="/wstshop/Apps/Home/View/default/images/sqzt.jpg"  height="38" width="40"/>-->
					<!--<div style="float:left;position:absolute;top:0px;left:38px;"><span style="font-weight:bolder;">社区自提</span><br/><span style="color:#e23c3d;">330家自提点</span></div>-->
				<!--</div>-->
			<!--</div>-->
		<!--</div>-->
	<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--<div class="headNav">-->
		  <!--<div class="navCon w1020">-->
		    <!--<div class="navCon-cate fl navCon_on" >-->
		      <!--<div class="navCon-cate-title"> <a href="<?php echo U('Home/goods/getGoodsList');?>"><img src="/wstshop/Apps/Home/View/default/images/cate_icon.png" class="wst-cate-img"/>&nbsp;&nbsp;<span class="navCon-allcat">全部商品分类</span></a></div>-->
		      	<!--<?php if($ishome == 1): ?>-->
		     	 	<!--<div class="cateMenu1" >-->
		      	<!--<?php else: ?>-->
		      		<!--<div class="cateMenu2" style="display:none;" >-->
		      	<!--<?php endif; ?>-->
		        <!--<div id="wst-nvg-cat-box">-->
		        	<!--<div class="wst-nvgbk" style="diplay:none;"></div>-->
		        	<!--<?php $_result=WSTGoodsCats();if(is_array($_result)): $k1 = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo1): $mod = ($k1 % 2 );++$k1;?>-->
		        		<!--<?php if($k1 < 11): ?>-->
				    	<!--<li class="wst-nvg-cat-nlt6" style="border-top: none;" >-->
				    	<!--<?php else: ?>-->
				    	<!--<li class="wst-nvg-cat-gt6" style="border-top: none;display:none;" >-->
				    	<!--<?php endif; ?>-->
				    	<!--<div>-->
				            <!--<div class="cate-tag"> -->
				            <!--<div class="listModel">-->
				             <!--<p > -->
				            	<!--<strong><s<?php echo ($k1); ?>></s<?php echo ($k1); ?>>&nbsp;<a style="font-weight:bold;" href="<?php echo U('Home/goods/getGoodsList',array('c1Id'=>$vo1['catId']));?>"><?php echo ($vo1["catName"]); ?></a></strong>-->
				             <!--</p> -->
				             <!--</div>-->
				              <!--<div class="listModel">-->
				                <!--<p> -->
				                <!--<?php if(is_array($vo1['catChildren'])): $k2 = 0; $__LIST__ = $vo1['catChildren'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo2): $mod = ($k2 % 2 );++$k2;?>-->
				                <!--<a href="<?php echo U('Home/goods/getGoodsList',array('c1Id'=>$vo1['catId'],'c2Id'=>$vo2['catId']));?>"><?php echo ($vo2["catName"]); ?></a>-->
				                <!--<?php endforeach; endif; else: echo "" ;endif; ?>-->
				                <!--</p>-->
				              <!--</div>-->
				            <!--</div>-->
				            <!--<div class="list-item hide">-->
				              <!--<ul class="itemleft">-->
				              	<!--<?php if(is_array($vo1['catChildren'])): $k2 = 0; $__LIST__ = $vo1['catChildren'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo2): $mod = ($k2 % 2 );++$k2;?>-->
				                 <!--<dl>-->
				                  <!--<dt><a href="<?php echo U('Home/goods/getGoodsList',array('c1Id'=>$vo1['catId'],'c2Id'=>$vo2['catId']));?>"><?php echo ($vo2["catName"]); ?></a></dt>-->
				                  <!--<dd> -->
				                  <!--<?php if(is_array($vo2['catChildren'])): $k3 = 0; $__LIST__ = $vo2['catChildren'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo3): $mod = ($k3 % 2 );++$k3;?>-->
				                  <!--<a href="<?php echo U('Home/goods/getGoodsList',array('c1Id'=>$vo1['catId'],'c2Id'=>$vo2['catId'],'c3Id'=>$vo3['catId']));?>"><?php echo ($vo3["catName"]); ?></a> -->
				                  <!--<?php endforeach; endif; else: echo "" ;endif; ?>-->
				                  <!--</dd>-->
				                <!--</dl>-->
				                <!--<div class="fn-clear"></div>-->
				                <!--<?php endforeach; endif; else: echo "" ;endif; ?>-->
				              <!--</ul>-->
				            <!--</div>-->
				            <!--</div>-->
				  		<!--</li>-->
				  		<!---->
		          	<!--<?php endforeach; endif; else: echo "" ;endif; ?>-->
		          	<!---->
		          	<!--<li style="display:none;"></li>-->
		        <!--</div>-->
		      <!--</div>-->
		    <!--</div>-->
		    <!---->
		    <!--<div class="navCon-menu fl">-->
		      <!--<ul class="fl">-->
		        <!--<?php foreach(WSTNavigation(0) as $k=>$v): ?>-->
				<!--<li >-->
				<!--<a href="<?php echo $v['navUrl']?>"  <?php echo (CONTROLLER_NAME.'/'.ACTION_NAME==$v['curUrl'])?'class="curMenu"':'';?>>-->
					<!--&nbsp;&nbsp;<?php echo $v['navTitle'];?>&nbsp;&nbsp;-->
				<!--</a>-->
				<!--</li>-->
				<!--<?php endforeach;?>-->
		      <!--</ul>-->
		    <!--</div>-->
		  <!--</div>-->
		</div>
	
	<div class="wst-regist" id="regist">	    
	    <div class="mc" style="position:relative;">
	        <div style="font-size:30px;color:black;padding-left:355px;border-bottom:dotted 1px #ddd; ">娱乐商家注册</div>
	        <form name="myform" method="post" id="myform" autocomplete="off">
	            <div class="form">
	                <div class="item" id="select-regName">
	                    <span class="label"><b class="ftx04">*</b>登录账户：</span>	
	                    <div class="fl item-ifo">
	                        <div class="o-intelligent-regName" style="position:relative;">	                       
	                            <input id="loginName" name="loginName" class="text wstipt" tabindex="1" maxlength="30" type="text" onkeypress="return WST.isNumberCharKey(event)"/>
	                            <div id="loginNameTip" style="display: inline-block; "></div>
	                        </div>	                        
	                    </div>
	                </div>	                
	                <div id="o-password">
	                    <div class="item">
	                        <span class="label"><b class="ftx04">*</b>请设置密码：</span>	
	                        <div class="fl item-ifo">
	                            <input id="loginPwd" name="loginPwd" class="text wstipt" tabindex="2" style="ime-mode:disabled;" autocomplete="off" type="password"/>
	                            <label id="pwd_succeed" class="pwdblank"></label>	                           
	                        </div>
	                    </div>	
	                    <div class="item">
	                        <span class="label"><b class="ftx04">*</b>请确认密码：</span>	
	                        <div class="fl item-ifo">
	                            <input id="reUserPwd" name="reUserPwd" class="text wstipt" tabindex="3" autocomplete="off" type="password"/>	                            
	                            <label id="pwdRepeat_succeed" class="pwdblank"></label>	                           
	                        </div>
	                    </div>
	                    <div class="item">
	                        <span class="label"><b class="ftx04">*</b>商家名称：</span>	
	                        <div class="fl item-ifo">
	                            <input id="shopName" name="shopName" class="text wstipt" tabindex="3" type='text'/>	                            
	                            <label id="shopName_succeed" class="pwdblank"></label>	                           
	                        </div>
	                    </div>
	                    <div class="item">
	                        <span class="label"><b class="ftx04">*</b>店主姓名：</span>	
	                        <div class="fl item-ifo">
	                            <input id="userName" name="userName" class="text wstipt" tabindex="3" type='text'/>	                            
	                            <label id="userName_succeed" class="pwdblank"></label>	                           
	                        </div>
	                    </div>	                    

	                    <div class="item">
	                        <span class="label"><b class="ftx04">*</b>商家电话：</span>	
	                        <div class="fl item-ifo">
	                            <input id="shopTel" name="shopTel" class="text wstipt" tabindex="3" autocomplete="off" style="" type="text"/>	                           	                           
	                        </div>
	                    </div>

	                    <div class="item" style='height:auto;position:relative;'>
	                        <span class="label">商家图标：</span>	
	                        <div class="fl item-ifo">
	                           <div>
	                            <div id="filePicker" style='margin-left:0px;float:left'>上传商家图标</div>
	                            <div style='margin-left:5px;float:left'>图片大小:150 x 150 (px)，格式为 gif, jpg, jpeg, png</div>
             	               </div>
             	               <div style='clear:both;'>
                                <img id='preview' src='' ref='' width='100' height='100' style='display:none'/> 
                                <input id="shopImg" name="shopImg" class="text wstipt" tabindex="3" autocomplete="off" style="" type="hidden"/>  
                               </div>                      
	                        </div>
	                    </div>
	                   
	                    <div class="item">
	                        <span class="label"><b class="ftx04">*</b>所属地区：</span>	
	                        <div class="fl item-ifo yj-select">
	                            <select id='areaId1' class='wstipt' onchange='javascript:getAreas("areaId2",this.value,"","areaId2,areaId3")'>
					               <option value=''>请选择</option>
					               <?php if(is_array($areaList)): $i = 0; $__LIST__ = $areaList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value='<?php echo ($vo['areaId']); ?>' <?php if($area['parentId'] == $vo['areaId'] ): ?>selected<?php endif; ?>><?php echo ($vo['areaName']); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
					             </select>
					             <select id='areaId2' class='wstipt' onchange='javascript:getAreas("areaId3",this.value,"","areaId3");'>
					               <option value=''>请选择</option>
					             </select>
					             <select id='areaId3' class='wstipt'>
					               <option value=''>请选择</option>
					             </select>
	                            <label id="shopTel_succeed" ></label>	                           
	                        </div>
	                    </div>
	                    <div class="item">
	                        <span class="label"><b class="ftx04">*</b>商家地址：</span>	
	                        <div class="fl item-ifo">
	                            <input id="shopAddress" name="shopAddress" class="text wstipt" tabindex="3" autocomplete="off" style="" type="text"/>	                           
	                            <label id="shopAddress_succeed" ></label>	                           
	                        </div>
	                    </div>
	                    <div class="item" style='height:440px;'>
	                    <span class="label">&nbsp;</span>	
                        <div class="fl item-ifo">
                             <div id="mapContainer" style='height:400px;width:660px;'>等待地图初始化...</div>
                             <div style='color:red'>(注意：提交开店申请之后商家地址将无法修改)</div>
				             <div style='display:none'>
				             <input type='text' id='latitude' class='wstipt' name='latitude' value=""/>
				             <input type='text' id='longitude' class='wstipt' name='longitude' value=""/>
				             <input type='text' id='mapLevel' class='wstipt' name='mapLevel' value="13"/>
				             </div>
				        </div>
				        </div>


	                   


	                    <div class="item">
	                        <span class="label"><b class="ftx04">*</b>转账银行：</span>	
	                        <div class="fl item-ifo yj-select">
	                           <select id='bankId' class='wstipt'>
					                <option value=''>请选择</option>
					                <?php if(is_array($bankList)): $i = 0; $__LIST__ = $bankList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value='<?php echo ($vo['bankId']); ?>'><?php echo ($vo['bankName']); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
					             </select>
	                        </div>
	                    </div> 
	                    <div class="item">
	                        <span class="label"><b class="ftx04">*</b>银行卡卡号：</span>	
	                        <div class="fl item-ifo">
	                           <input type="text" class='text wstipt' id="bankNo" maxlength="25" size="50">
	                        </div>
	                    </div>
	                    <div class="item">
	                        <span class="label"><b class="ftx04">*</b>银行卡所有人名称：</span>	
	                        <div class="fl item-ifo">
	                           <input type="text" class='text wstipt' id="bankUserName" maxlength="25" size="50">
	                        </div>
	                    </div>

	                    <div class="item">
	                        <span class="label"><b class="ftx04">*</b>手机号码：</span>	
	                        <div class="fl item-ifo">
	                            <input id="userPhone" name="userPhone" class="text wstipt" tabindex="3" autocomplete="off" type="text" maxlength="11"/>	                           
	                            <label id="userPhone_succeed" ></label>	                           
	                        </div>
	                    </div>
	                    <?php if($CONF['phoneVerfy'] == 1): ?><div class="item" id="mobileCodeDiv" >
	                        <span class="label"><b class="ftx04">*</b>短信验证码：</span>	
	                        <div class="fl item-ifo">
	                            <input maxlength="6" autocomplete="off" tabindex="6" class="text text-1 wstipt" name="mobileCode" style="ime-mode:disabled" id="mobileCode" type="text"/>
	                            <label class="blank invisible"></label>
	                            <a class="btn" href="javascript:void(0);" onclick="getVerifyCode();" id="sendMobileCode">
	                                <span id="timeTips">获取短信验证码</span>
	                           	</a>
	                        </div>
	                        <span class="clr"></span>
	                    </div>		
	                 	<?php else: ?>
	                 	<div class="item" id="authcodeDiv">
	                         <span class="label"><b class="ftx04">*</b>验证码：</span>	
	                         <div class="fl item-ifo">
	                             <input id="verify" style="ime-mode:disabled" name="verify" class="text text-1 wstipt" tabindex="6" autocomplete="off" maxlength="6" type="text"/>
	                             <label class="img">
	                                 <img style='vertical-align:middle;cursor:pointer;height:39px;' class='verifyImg' src='' title='刷新验证码' onclick='javascript:getVerify()'/> 
							     </label>      	
	                             <label class="ftx23">&nbsp;看不清？<a href="javascript:getVerify()" onclick="setTimeout(verc,50);" class="flk13">换一张</a></label>
	                         </div>
	                 	</div><?php endif; ?> 
	                </div>
	                <input name="qVoCgWxtvu" value="EqaRK" type="hidden"/>	
	                <div class="item item-new">
	                    <span class="label">&nbsp;</span>	
	                    <div class="fl item-ifo">
	                        <label>
	                        <input class="checkbox" id="protocol" name="protocol" type="checkbox"/>
	                                                                        我已阅读并同意</label><a href="javascript:;" class="blue" id="protocolInfo" onclick="showXiey();">《用户注册协议》</a>                       
	                        <label id="protocol_error" class="error hide">请接受服务条款</label>
	                    </div>
	                </div>
	                <div class="item">
	                    <span class="label">&nbsp;</span>
	                    <input class="btn-img btn-regist" id="registsubmit" value="立即注册" tabindex="8"  type="submit"/>
	                </div>
	            </div>
	            <div class="phone">
	                
	            </div>
	      		<span class="clr"></span>
	        </form>
	    </div>
	</div>
	<!--footer start--> 

	<!--footer end-->
	<script src="/wstshop/Public/plugins/layer/layer.min.js"></script>
   	<script src="/wstshop/Public/plugins/formValidator/formValidator-4.1.3.js"></script>
    <script src="/wstshop/Public/js/common.js"></script>
    <script src="/wstshop/Apps/Home/View/default/js/common.js"></script>
    <script src="/wstshop/Apps/Home/View/default/js/open_amuse_shop.js"></script>
    <script type="text/javascript" src="/wstshop/Public/plugins/webuploader/webuploader.js"></script>
    <script type="text/javascript" src="http://webapi.amap.com/maps?v=1.3&key=37f0869604ca86505487639427d52bf6"></script>
    <script type="text/javascript">
       $(function(){
    	   visitorShopInit();
    	   getAreas("areaId2",'<?php echo ($area["parentId"]); ?>',"<?php echo ($area['areaId']); ?>","areaId2,areaId3",function(){
    		   getCommunityForOpen();
    		   getAreas("areaId3",'<?php echo ($area["areaId"]); ?>',"","areaId3");
    	   });
    	   $('#areaId1').change(function(){
    		   getAreas("areaId2",this.value,"","areaId2,areaId3");
    	   });
    	   $('#areaId2').change(function(){
	    		getCommunityForOpen();
	    		getAreas("areaId3",$(this).val(),"","areaId3");
    	   });
    	   $("input[name='isDistributAll']").click(function(){
    		   if($(this).val()==1){
    			   $("#delivery_tr").hide();
    		   }else{
    			   $("#delivery_tr").show();
    		   }
    	   });
       })
   </script>
   <style>
   	.layui-layer-btn a{background:#e23c3d;}
   	</style>
</body>
</html>